#include <stdio.h>
#include <iostream>
int mGlobalVar; 
void Foo() { 
	int localVar; 
	printf("Foo : %d %d\n", localVar, mGlobalVar); 
} 
int main() 
{ 
	int localVar = 1; 
	printf("Main: %d %d\n", localVar, mGlobalVar); 
	mGlobalVar = 1; 
	Foo(); 
	system("pause");
	return 1; 
}